Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Function as Argument support for code2amr #723

Merged
merged 13 commits into from
Dec 7, 2023

Conversation

Free-Quarks
Copy link
Collaborator

Summary of Changes

This updates the database.rs to support function calls as arguments, this required adding support for sub-expressions inside expressions. These sub-expressions are related to the calling of the argument functions

This also updates model_extraction.rs to add support for handling these sub-expressions to get the full AMR's out. This includes new trimming to delete the sub-expressions while connecting the primitives directly to the argument functions.

Related issues

Resolves #622

@github-actions github-actions bot added MORAE lang/Rust Used for work related to Rust labels Dec 7, 2023
@Free-Quarks Free-Quarks changed the title Lieffers/sidarthe prep Initial Function as Argument support for code2amr Dec 7, 2023
@Free-Quarks Free-Quarks merged commit 094b7ec into main Dec 7, 2023
7 checks passed
@Free-Quarks Free-Quarks deleted the lieffers/sidarthe-prep branch December 7, 2023 20:54
github-actions bot added a commit that referenced this pull request Dec 7, 2023
## Summary of Changes
This updates the database.rs to support function calls as arguments,
this required adding support for sub-expressions inside expressions.
These sub-expressions are related to the calling of the argument
functions

This also updates model_extraction.rs to add support for handling these
sub-expressions to get the full AMR's out. This includes new trimming to
delete the sub-expressions while connecting the primitives directly to
the argument functions.

### Related issues

Resolves #622

---------

Co-authored-by: Justin <[email protected]> 094b7ec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang/Rust Used for work related to Rust MORAE
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[MORAE] Add support for functions as arguments into code2amr
1 participant